package com.songlanyun.modules.withdrawconfig.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.songlanyun.common.utils.PageUtils;
import com.songlanyun.common.utils.Query;

import com.songlanyun.modules.withdrawconfig.dao.WithdrawConfigDao;
import com.songlanyun.modules.withdrawconfig.entity.WithdrawConfig;
import com.songlanyun.modules.withdrawconfig.service.WithdrawConfigService;


@Service("systemWithdrawConfigService")
public class WithdrawConfigServiceImpl extends ServiceImpl<WithdrawConfigDao, WithdrawConfig> implements WithdrawConfigService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<WithdrawConfig> page = this.page(
                new Query<WithdrawConfig>().getPage(params),
                new QueryWrapper<WithdrawConfig>()
        );

        return new PageUtils(page);
    }

}